package com.xiaoshuidi.cloud.module.iot.infrastructure.remote.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ：baohanzhong
 * @date ：Created 2024/8/22 13:16
 * @description：
 */
@Data
public class ModifyTempPasswordReqDTO {

    private String password;

    private Long effective_time;

    private Long invalid_time;

    private String password_type;

    private String ticket_id;

    private String phone;

    private Integer type;

    private String time_zone;

    /**
     * schedule_list
     */
    private List<GetTempPasswordReqDTO.ScheduleListDTO> schedule_list;

    /**
     * ScheduleListDTO
     */
    @NoArgsConstructor
    @Data
    public static class ScheduleListDTO {
        /**
         * effective_time
         */
        private Integer effective_time;
        /**
         * invalid_time
         */
        private Integer invalid_time;
        /**
         * working_day
         */
        private Integer working_day;
    }

}
